<template>
	<web-view :src="page_data.music_score"
	>
	</web-view>
</template>

<script setup>
	import {onLoad} from '@dcloudio/uni-app'
	import { ref } from 'vue';
	const app = getApp()
	const page_data =ref({})
	
	onLoad((option)=>{
		init(option)
	})
	const init = (option)=>{
		app.globalData.utils.request({   //获取主数据包
			url:"/all_products",
			success:res =>{
				page_data.value =res[option.hid]
			},
			fail:err =>{
				console.log(err)
			}
		})
	}
</script>

<style>

</style>
